import req from './http.js'
// 本社看板--综合概况
export const MYVIEW_PUBLISHERINFO = query => req('post', '/myview/supplierinfo', query);
// 本社看板--品种排行
export const MYVIEW_GOODSRANK = query => req('post', '/myview/goodsrank', query);
// 本社看板--地域排行
export const MYVIEW_REGIONRANK = query => req('post', '/myview/regionrank', query);
// 本社看板--核心数据
export const MYVIEW_KERNELDATA = query => req('post', '/myview/kerneldata', query);
// 本社看板--核心数据图形
export const MYVIEW_KERNELCHART = query => req('post', '/myview/kernelchart', query);
// 本社看板--渠道数据
export const MYVIEW_PLATFORMCHART = query => req('post', '/myview/platformchart', query);

// 淘普100--商品排行
export const TOP_GOODSRANK = query => req('post', '/top/goodsrank', query);
// 淘普100--搜索历史
export const TOP_HISTORY = query => req('post', '/top/history', query);
// 淘普100--商品搜索
export const TOP_SEARCH = query => req('post', '/top/search', query);
// 淘普100--商品详情--商品信息
export const TOP_GOODS_INFO = query => req('post', '/top/goods/info', query);
// 淘普100--商品详情--销售走势核心数据
export const TOP_GOODS_KERNELDATA = query => req('post', '/top/goods/kerneldata', query);
// 淘普100--商品详情--生命周期基础数据
export const TOP_GOODS_HISTORY = query => req('post', '/top/goods/history', query);
// 淘普100--商品详情--生命周期核心数据
export const TOP_GOODS_HISTORYCHART = query => req('post', '/top/goods/historychart', query);
// 淘普100--商品详情--读者画像
export const TOP_GOODS_READER_BASE = query => req('post', '/top/goods/reader/base', query);
// 商品详情-关联商品
export const TOP_GOODS_RELATION = query => req('post', '/top/goods/relation', query);
// 商品详情-渠道数据
export const TOP_GOODS_PLATFORMCHART = query => req('post', '/top/goods/platformchart', query);

// 核心类目
export const MYCATE_INDEX = query => req('post', '/mycate/index', query);
export const MYCATE_GOODS = query => req('post', '/mycate/goods', query);


// 新品追踪
export const TRACE_NEWGOODS = query => req('post', '/trace/newgoods', query);
// 新品追踪--新品日历
export const TRACE_CALENDAR = query => req('post', '/trace/calendar', query);
// 新品追踪--新品日历商品列表
export const TRACE_CALENDARGOODSLISTS = query => req('post', '/trace/calendargoodslists', query);

// 读者画像
export const READER_BASE = query => req('post', '/reader/base', query);

// 作者库
export const MYAUTHOR_LISTS = query => req('post', '/myauthor/lists', query);
export const MYAUTHOR_HISTORY = query => req('post', '/myauthor/history', query);
export const MYAUTHOR_SEARCH = query => req('post', '/myauthor/search', query);

// 地域分布--整体概况
export const MYREGION_INDEX = query => req('post', '/myregion/index', query);
// 地域分布--省份数据
export const MYREGION_PROVINCEALL = query => req('post', '/myregion/provinceall', query);
// 地域分布--省份详情
export const MYREGION_PROVINCEDETAIL = query => req('post', '/myregion/provincedetail', query);
// 地域分布--城市等级销售趋势
export const MYREGION_LEVELDETAIL = query => req('post', '/myregion/leveldetail', query);
// 地域分布--城市排行
export const MYREGION_CITYRANK = query => req('post', '/myregion/cityrank', query);
// 地域分布--省份排行
export const MYREGION_PROVINCERANK = query => req('post', '/myregion/provincerank', query);
// 地域分布--城市读者画像
export const MYREGION_LEVELPERSONA = query => req('post', '/myregion/levelpersona', query);

// 库存分析基础信息
export const MYSTOCK_INFO = query => req('post', '/mystock/info', query);
// 库存分析商品列表
export const MYSTOCK_GOODSLISTS = query => req('post', '/mystock/goodslists', query);
// 库存分析商品列表导出
export const MYSTOCK_EXPORT = query => req('post', '/mystock/export', query);
// 异常监控
export const MYVIEW_ABNORMALGOODS = query => req('post', '/myview/abnormalgoods', query);

// 销售结构分析基础数据
export const MYSALES_INFO = query => req('post', '/mysales/info', query);
// 销售结构分析--销售层级
export const MYSALES_SALEVELCHART = query => req('post', '/mysales/salelevelchart', query);
// 销售结构分析--书龄分级
export const MYSALES_SALEAGECHART = query => req('post', '/mysales/saleagechart', query);
// 销售结构分析--定价区间
export const MYSALES_SALEPRICECHART = query => req('post', '/mysales/salepricechart', query);